package spring.feignHystrix;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 测试使用接口，服务提供者
 */
@RestController
public class Controller {
    @Autowired
    private FeignClientApiCall feignClientApiCall;
    @RequestMapping("/test")
    public String test(){
        return feignClientApiCall.car();
    }
}
